import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm'
import { UserEntity } from '../entitys/user.entity';
import { UserController } from '../controllers/user.controller';
import { UserService } from '../services/user.service';
import { AuthorModule } from './authority.module'

@Module({
  imports: [
    TypeOrmModule.forFeature([UserEntity]),
    AuthorModule
  ],
  controllers: [UserController],
  providers: [UserService],
})
export class UserModule { }